Skip to content

)}

VirtualTimeScheduler() constructor

Defined in

Type: VirtualTimeScheduler Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. protected VirtualTimeScheduler()
  • 2. protected VirtualTimeScheduler(TAbsolute initialClock, IComparer<TAbsolute> comparer)

1. Overload

protected VirtualTimeScheduler()

Summary: Creates a new virtual time scheduler with the default value of TAbsolute as the initial clock value.

2. Overload

protected VirtualTimeScheduler(TAbsolute initialClock, IComparer<TAbsolute> comparer)

Summary: Creates a new virtual time scheduler.

Parameters

NameTypeDescription
initialClockTAbsoluteInitial value for the clock.
comparerIComparerComparer to determine causality of events based on absolute time.

Exceptions

TypeCondition
System.ArgumentNullExceptioncomparer is null.